
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<form class="form-horizontal" id="updateEmp">
    <input name="id" type="hidden" value="${e.id}">

    <div class="panel-body">
        <div class="form-group">
            <label for="name" class="col-sm-2 control-label" >名称</label>
            <div class="col-sm-8">
                <input type="text" class="form-control" id="name" name="name" value="${e.name}">
            </div>
        </div>
    </div>

    <div class="panel-body">
        <div class="form-group">
            <label for="age" class="col-sm-2 control-label" >年龄</label>
            <div class="col-sm-8">
                <input type="text" class="form-control" id="age" name="age" value="${e.age}">
            </div>
        </div>
    </div>

    <div class="panel-body">
        <div class="form-group">
            <label for="time" class="col-sm-2 control-label" >时间</label>
            <div class="col-sm-8">
                <input type="text" class="form-control" id="time" name="time" value='<fmt:formatDate value="${e.time}" pattern="YYYY-MM-dd"/>'>
            </div>
        </div>
    </div>
    <div class="panel-body">
        <div class="form-group">
            <label for="address" class="col-sm-2 control-label" >地址</label>
            <div class="col-sm-8">
                <input type="text" class="form-control" id="address" name="address" value="${e.address}">
            </div>
        </div>
    </div>
</form>
</body>
</html>
